﻿<%@ Page Language="C#" MasterPageFile="~/web/pages/NguoiTimViec.master" AutoEventWireup="true" CodeFile="nguoitimviec_quanlytinnhan.aspx.cs" Inherits="web_nguoitimviec_quanlytinnhan" Title="Quan ly tin nhan" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

    <div class="vl_left_news_main_tt">
        Quản lý tin nhắn
    </div>
    
    <div style="padding: 2px;" class="ui-widget ui-widget-content ui-corner-top ">
        <div style="height: 20px; padding-top: 5px; padding-left: 20px;" class="ui-widget-header ui-corner-all ">
        <span class="ui-icon ui-icon-script" style="float: left; margin-right: 0.3em;"></span>
            Các tin nhắn của bạn</div>
        <div style="padding: 5px;">
            <table style="text-align:left;border:none;width:100%;border:none;font-size:12px;">
                <tr>
                    <th style="border-bottom: #ccc 1px dotted; width:27%;text-align:left;vertical-align:top;margin:auto;color:#2989cc">
                        <div id="accordion" class="ui-accordion ui-widget ui-helper-reset" role="tablist">
                            <div>
                                <h3 class="ui-accordion-header ui-helper-reset ui-state-active ui-corner-top ui-state-focus"
                                    role="tab" aria-expanded="true" tabindex="0" style="left: 0px; top: 0px">
                                    <span class="ui-icon ui-icon-triangle-1-s"></span><a href="#" tabindex="-1">Tin từ nhà tuyển dụng </a>
                                </h3>
                                <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active"
                                    style="height: auto; left: 0px; top: 1px;" role="tabpanel">
                                    <div align="left">
                                        <ul>
		                                    <li style="border-bottom: Green 1px dotted; width:100%;text-align:left;padding-bottom:2px;">
		                                        <a href="javascript:void(0);" onclick="javascript:loadajaxtinnhan(0,0);">
		                                            + Tin chưa đọc
		                                        </a>
		                                    </li>
		                                    <li style="border-bottom: Green 1px dotted; width:100%;text-align:left;padding-bottom:2px;">
		                                        <a href="javascript:void(0);" onclick="javascript:loadajaxtinnhan(0,1);">
		                                            + Tin đã đọc</a></li>
		                                    <li>
		                                        <a href="javascript:void(0);" onclick="javascript:loadajaxtinnhan(0,2);">
		                                            + Tất cả</a></li>
	                                    </ul>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" role="tab"
                                    aria-expanded="false" tabindex="-1">
                                    <span class="ui-icon ui-icon-triangle-1-e"></span><a href="#" tabindex="-1">Tin từ trung tâm GTVL</a></h3>
                                <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"
                                    style="height: auto; display: none;" role="tabpanel">
                                    <div align="left">
                                        <ul>
		                                    <li style="border-bottom: Green 1px dotted; width:100%;text-align:left;padding-top:2px;">
		                                        <a href="javascript:void(0);" onclick="javascript:loadajaxtinnhan(1,0);">
		                                            + Tin chưa đọc
		                                        </a>
		                                    </li>
		                                    <li style="border-bottom: Green 1px dotted; width:100%;text-align:left;padding-top:2px;">
		                                        <a href="javascript:void(0);" onclick="javascript:loadajaxtinnhan(1,1);">
		                                            + Tin đã đọc</a></li>
		                                    <li>
		                                        <a href="javascript:void(0);" onclick="javascript:loadajaxtinnhan(1,2);">
		                                            + Tất cả</a></li>
	                                    </ul>
                                    </div>
                                </div>
                            </div>
                            <div>
                                <h3 class="ui-accordion-header ui-helper-reset ui-state-default ui-corner-all" role="tab"
                                    aria-expanded="false" tabindex="-1">
                                    <span class="ui-icon ui-icon-triangle-1-e"></span><a href="#" tabindex="-1">Tin đã gửi</a></h3>
                                <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom"
                                    style="height: auto; display: none;" role="tabpanel">
                                    <div align="left">
                                        <ul>
		                                    <li style="border-bottom: Green 1px dotted; width:100%;text-align:left;padding-top:2px;">
		                                        <a href="javascript:void(0);" onclick="javascript:loadajaxtinnhan(2,0);">
		                                            + Tin chưa được đọc
		                                        </a>
		                                    </li>
		                                    <li style="border-bottom: Green 1px dotted; width:100%;text-align:left;padding-top:2px;">
		                                        <a href="javascript:void(0);" onclick="javascript:loadajaxtinnhan(2,1);">
		                                            + Tin đã được đọc</a></li>
		                                    <li>
		                                        <a href="javascript:void(0);" onclick="javascript:loadajaxtinnhan(2,2,0,0);">
		                                            + Tất cả</a></li>
	                                    </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </th>
                    <th>
                        <!--Nội dung danh sách tin nhắn hiển thị ở dây-->
                        <div style="padding: 2px;width:100%;min-height:200px;height:auto !important; height:200px;" 
                            class="ui-widget ui-widget-content ui-corner-all ">
                            <div id="ajax_tinnhan"></div>
                        </div>
                    </th>
                </tr>
            </table>
        </div>
    </div>
</asp:Content>

